package 设计模式.创建型模式.简单工厂;

public class TestSimpleFactory {
    public static void main(String[] args) {
        IMouse mouse = SimpleFactoty.getInstace("联想");
//        IMouse mouse = SimpleFactoty.getInstace(null);
//        assert mouse != null;
        mouse.test1();
        mouse.test3();
    }
}
